package com.example.user.myhjjf_app.presenter;

import com.baidu.mapapi.search.district.DistrictResult;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by User on 2017/8/17.
 */

public class ListDistrictResult  {
    private static ListDistrictResult listDistrictResult=null;
    private static List<DistrictResult> list = new ArrayList<>();
    public static ListDistrictResult getListDistrictResult(){
        if (listDistrictResult==null){
            listDistrictResult = new ListDistrictResult();
        }
            return listDistrictResult;
    }
    public void setList(DistrictResult districtResult){
        list.add(districtResult);
    }
    public List<DistrictResult> getList(){
        return list;
    }
}
